class Orderinfo 
{
	String orderName;               //订单名称
	String orderCode;               //订单编号
	Double price;                   //订单价格
	Customer customer;              //订单所属客户
	Date ctime = new Date();        //记录创建时间
	Integer isdel = 0;              //预备假删除字段  1:删除
	
	String toString() { orderName }
	
	static constraints =
	{
		orderName(blank:false, maxSize:30)
		orderCode(blank:false, maxSize:10)
		price(scale:2)
		ctime(display:false)
		isdel(display:false)
	}
	
}
